#ifndef __HardwareProfile_h__
#define __HardwareProfile_h__
#define FCY 16000000
#include "p30F4011.h"
#include <libpic30.h>
#include "dsp.h"
#include "afx.h"
#include "TypeDefine.h"
#include "Verify.h"
#include "Variable.h"
#include "FlagDefine.h"

#define Uart2_TRMT U2STAbits.TRMT
#define Uart2_TXREG U2TXREG
#include "Uart2.h" 


#define Init_SetF 0.05

#define LN_PWM3 _RF6
#define LN_PWM2 _RD2
#define LN_PWM1 _RD3
#define ZF_PWM  _RC13
#define ZF_OC	_RB8
#define ZF_Error _RF1
#define JDQ1 _RE8
#define JDQ2 _RC14
#define IPM_FO _RB1
extern void InitSystem( void );

#endif // __HardwareProfile_h__
